package com.weichat.util;

import javax.swing.plaf.PanelUI;

/**
 * Created with IntelliJ IDEA
 * Created By HZP
 * Date: 2018/6/6
 * Time: 22:51
 */
public  enum  ProductStatusEnum {

    UP(0, "在架"),
    DOWN(1, "下架")
            ;
    private Integer code;

    private String message;

    ProductStatusEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}
